<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>装备</title>

    <!-- 页面图标 -->
    <link href="../img/bg/qishiLogo.png" rel="icon" type="image/x-ico">

    <!-- lib库 -->
    <script src="../lib/jquery-3.5.1.js"></script>
    <script src="../lib/vue.js"></script>
    <script src="../lib/bootstrap/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="../lib/bootstrap/css/bootstrap.min.css">
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
    <!-- 公共类 -->
    <link rel="stylesheet" href="../css/com.css">

    <link rel="stylesheet" href="../css/equip.css">
  
</head>

<body>
    <div class="back">

    </div>

    <div id="box">

    <!-- 遮罩 -->
    <div class="divShadow OutOrIn"  @click="heidCard"></div>
    <nav id="nav" class="navbar navbar-default navbar-inverse">
        <div class="container">
            <div class="container-fluid">
                <!-- Brand and toggle get grouped for better mobile display -->
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                        data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="./index.html">首页</a>
                </div>

                <!-- Collect the nav links, forms, and other content for toggling -->
                <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                    <ul class="nav navbar-nav">
                        <li><a href="zhenrong.html">阵容推荐</a></li>
                        <li><a href="hero.html">英雄</a></li>
                        <li><a href="./equip.html">装备</a></li>
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
                                aria-haspopup="true" aria-expanded="false">羁绊 <span class="caret"></span></a>
                            <ul class="dropdown-menu">
                                <li><a href="race.html">种族</a></li>
                                <li><a href="occupation.html">职业</a></li>
                            </ul>
                        </li>
                    </ul>

                    <ul class="nav navbar-nav navbar-right">
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
                                aria-haspopup="true" aria-expanded="false">友情链接 <span class="caret"></span></a>
                            <ul class="dropdown-menu">
                                <li><a href="https://www.bilibili.com">BiliBili</a></li>
                                <li><a href="https://lol.qq.com/">LOL</a></li>
                                <li><a href="https://cn.vuejs.org/">Vue</a></li>
                                <li><a href="https://www.bootcss.com/">Bootstrap</a></li>
                            </ul>
                        </li>
                        <img src="../img/bg/logo.png" id="navLogo">
                    </ul>
                </div><!-- /.navbar-collapse -->
            </div><!-- /.container-fluid -->
        </div>
    </nav>




    <!-- 装备 -->
    <div class="container">
        <!-- 按钮 active 是按钮状态-->
        <div id="btngroup">
            <button type="button" class="btn btn-default btn-lg active" @click="findLight" id="light">光明系装备</button>
            <button type="button" class="btn btn-default btn-lg " @click="findShadow" id="shadow">黑暗系装备</button>
        </div>
        <hr>
    </div>


    <!-- 装备展示 -->
    <div class="container" id="main">

        <div class="row">

            <div class="equip_data col-md-1 col-sm-2 col-xs-3" v-for="item in equipList" @click="showCard(item)">
                <img :src="`https://game.gtimg.cn/images/lol/act/img/tft/equip/${item.name}.png`" class="equipImg">
                <span class="equipName">{{item.name}}</span>
             </div>
        </div>
       
    </div>

    <!-- 卡片翻转效果 -->
    <div class="equip_data card OutOrIn" id="card" @click="heidCard">
        <img :src="`https://game.gtimg.cn/images/lol/act/img/tft/equip/${equipName}.png`" class="img-responsive" >
        <span class="equipName">{{equipName}}</span>
        <span>{{equipFunc}}</span>
        
    </div>
</div>

</body>
<script src="../js/equip.js"></script>

</html>